# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libglibutil
pkgver=1.0.44
pkgrel=0
pkgdesc="Library of glib utilities"
url="https://git.sailfishos.org/mer-core/libglibutil"
arch="all"
license="BSD-3-Clause"
makedepends="glib-dev"
subpackages="$pkgname-dev"
source="https://git.sailfishos.org/mer-core/libglibutil/-/archive/$pkgver/libglibutil-$pkgver.tar.gz"
options="!check" # test_log.c: error: assignment of read-only variable 'stdout'

build() {
	make KEEP_SYMBOLS=1 release pkgconfig
}

package() {
	make DESTDIR="$pkgdir" install-dev
}

sha512sums="1f9124431f50d0e47c0afaba2d470a927cf76580a904f9d7c118ad0017c5e52ea8c7f72cbfd2a268c73737d8ce997c1f4afbfc16534d1fc2bdd1206b28935ba7  libglibutil-1.0.44.tar.gz"
